package com.ajoclass.demo.order.dao;

import com.ajoclass.demo.order.entity.Order;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.mongodb.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderRepository extends MongoRepository<Order, Long> {
    Order findByOrderSn(String orderSn);
}